package com.hera.process.config.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;

import com.hera.base.dao.repository.BaseRepository;
import com.hera.process.form.domain.DynaformStage;
import com.hera.process.form.domain.DynaformStagePK;

public interface DynaformStageDao extends BaseRepository<DynaformStage, DynaformStagePK> {
	
	public List<DynaformStage> findByStageIdStage(Long idStage);
	@Query("select dto from DynaformStage dto where dto.dynaform.idProcess = ?")
	public List<DynaformStage> findByIdProcess(Long idProcess);
	

}
